//
//  AppDelegate.h
//  iBaby365v2
//
//  Created by Kirinrin on 14-5-9.
//  Copyright (c) 2014年 suplus. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MenuViewController;

extern NSString *const NOTIFICATION_LOGINCHANGE;
@interface AppDelegate : UIResponder

typedef enum UserType:NSUInteger{
    UserTypeTeacher,
    UserTypeParent,
}UserType;

typedef enum MenuName:NSUInteger{
    menuDefault,
    menuSNS,
    menuChat,
    menuNotice,
    menuRest,
    menuScore,
    menuCheckOn,
}MenuName;


@property (strong, nonatomic) UIWindow *window;

// use for access remote data
@property (strong, nonatomic)NSString *accessKey;
@property (strong, nonatomic)NSString *userId;
@property (assign, nonatomic)UserType userType;

//
@property (strong, nonatomic)NSDictionary *user;
@property (strong, nonatomic)UIImage *userPhoto;

@property (strong, nonatomic)NSMutableArray *pushDataArray;


@property (strong, nonatomic)MenuViewController *menuController;

@property (assign, nonatomic)MenuName startUpPage;
@end
